package org.senseframework.support.open.api.controller.encrypt;

/**
 * Author lanjian
 * Email  jianlan@iflytek.com
 */
public interface ApplicationEncryptHandler<T> {
    T generate(byte[] content);

    String encode(String key, String body);

    String decode(String key, String body);

    ExchangeKey findExchangeKey(String session);

    boolean open();
}
